package news.service;

import news.dao.DelPublishImpl;
import news.dao.IDelPublishDao;

/**
 * @author JiangJ
 * @date 2022/3/2 21:04
 */
public class DelPublishServiceImpl implements IDelPublishService {
    private final IDelPublishDao iDelPublishDao = new DelPublishImpl();

    @Override
    public void delNews(Integer id) {
        iDelPublishDao.delNews(id);
    }
}
